namespace FreeTypeSharp
{
    public enum FT_Error : int
    {
        FT_Err_Ok = 0,
        FT_Err_Cannot_Open_Resource = 1,
        FT_Err_Unknown_File_Format = 2,
        FT_Err_Invalid_File_Format = 3,
        FT_Err_Invalid_Version = 4,
        FT_Err_Lower_Module_Version = 5,
        FT_Err_Invalid_Argument = 6,
        FT_Err_Unimplemented_Feature = 7,
        FT_Err_Invalid_Table = 8,
        FT_Err_Invalid_Offset = 9,
        FT_Err_Array_Too_Large = 10,
        FT_Err_Missing_Module = 11,
        FT_Err_Missing_Property = 12,
        FT_Err_Invalid_Glyph_Index = 16,
        FT_Err_Invalid_Character_Code = 17,
        FT_Err_Invalid_Glyph_Format = 18,
        FT_Err_Cannot_Render_Glyph = 19,
        FT_Err_Invalid_Outline = 20,
        FT_Err_Invalid_Composite = 21,
        FT_Err_Too_Many_Hints = 22,
        FT_Err_Invalid_Pixel_Size = 23,
        FT_Err_Invalid_SVG_Document = 24,
        FT_Err_Invalid_Handle = 32,
        FT_Err_Invalid_Library_Handle = 33,
        FT_Err_Invalid_Driver_Handle = 34,
        FT_Err_Invalid_Face_Handle = 35,
        FT_Err_Invalid_Size_Handle = 36,
        FT_Err_Invalid_Slot_Handle = 37,
        FT_Err_Invalid_CharMap_Handle = 38,
        FT_Err_Invalid_Cache_Handle = 39,
        FT_Err_Invalid_Stream_Handle = 40,
        FT_Err_Too_Many_Drivers = 48,
        FT_Err_Too_Many_Extensions = 49,
        FT_Err_Out_Of_Memory = 64,
        FT_Err_Unlisted_Object = 65,
        FT_Err_Cannot_Open_Stream = 81,
        FT_Err_Invalid_Stream_Seek = 82,
        FT_Err_Invalid_Stream_Skip = 83,
        FT_Err_Invalid_Stream_Read = 84,
        FT_Err_Invalid_Stream_Operation = 85,
        FT_Err_Invalid_Frame_Operation = 86,
        FT_Err_Nested_Frame_Access = 87,
        FT_Err_Invalid_Frame_Read = 88,
        FT_Err_Raster_Uninitialized = 96,
        FT_Err_Raster_Corrupted = 97,
        FT_Err_Raster_Overflow = 98,
        FT_Err_Raster_Negative_Height = 99,
        FT_Err_Too_Many_Caches = 112,
        FT_Err_Invalid_Opcode = 128,
        FT_Err_Too_Few_Arguments = 129,
        FT_Err_Stack_Overflow = 130,
        FT_Err_Code_Overflow = 131,
        FT_Err_Bad_Argument = 132,
        FT_Err_Divide_By_Zero = 133,
        FT_Err_Invalid_Reference = 134,
        FT_Err_Debug_OpCode = 135,
        FT_Err_ENDF_In_Exec_Stream = 136,
        FT_Err_Nested_DEFS = 137,
        FT_Err_Invalid_CodeRange = 138,
        FT_Err_Execution_Too_Long = 139,
        FT_Err_Too_Many_Function_Defs = 140,
        FT_Err_Too_Many_Instruction_Defs = 141,
        FT_Err_Table_Missing = 142,
        FT_Err_Horiz_Header_Missing = 143,
        FT_Err_Locations_Missing = 144,
        FT_Err_Name_Table_Missing = 145,
        FT_Err_CMap_Table_Missing = 146,
        FT_Err_Hmtx_Table_Missing = 147,
        FT_Err_Post_Table_Missing = 148,
        FT_Err_Invalid_Horiz_Metrics = 149,
        FT_Err_Invalid_CharMap_Format = 150,
        FT_Err_Invalid_PPem = 151,
        FT_Err_Invalid_Vert_Metrics = 152,
        FT_Err_Could_Not_Find_Context = 153,
        FT_Err_Invalid_Post_Table_Format = 154,
        FT_Err_Invalid_Post_Table = 155,
        FT_Err_DEF_In_Glyf_Bytecode = 156,
        FT_Err_Missing_Bitmap = 157,
        FT_Err_Missing_SVG_Hooks = 158,
        FT_Err_Syntax_Error = 160,
        FT_Err_Stack_Underflow = 161,
        FT_Err_Ignore = 162,
        FT_Err_No_Unicode_Glyph_Name = 163,
        FT_Err_Glyph_Too_Big = 164,
        FT_Err_Missing_Startfont_Field = 176,
        FT_Err_Missing_Font_Field = 177,
        FT_Err_Missing_Size_Field = 178,
        FT_Err_Missing_Fontboundingbox_Field = 179,
        FT_Err_Missing_Chars_Field = 180,
        FT_Err_Missing_Startchar_Field = 181,
        FT_Err_Missing_Encoding_Field = 182,
        FT_Err_Missing_Bbx_Field = 183,
        FT_Err_Bbx_Too_Big = 184,
        FT_Err_Corrupted_Font_Header = 185,
        FT_Err_Corrupted_Font_Glyphs = 186,
        FT_Err_Max = 187
    }
}